package vip.ifmm.lehouse.common.enums;

/**
 * 枚举接口类
 *
 * author: mackyhuang
 * <p>email: mackyhuang@163.com <p>
 * <p>date: 2019/6/15 </p>
 */
public interface Statable {

    // 成功码
    int SUCCESS_CODE = 0;
    String SUCCESS_MSG = "OK!";

    default int getCode() {
        return SUCCESS_CODE;
    }

    default String getMsg() {
        return SUCCESS_MSG;
    }
}
